package com.tutor.lzm.http.request;

import com.tutor.lzm.http.BaseRequest;
import com.tutor.lzm.http.BaseResponse;
import com.tutor.lzm.http.response.PictureResponse;

/**
 * Created by zzgpc on 2017-9-24.
 * 上传图片
 */
public class PictureUploadRequest implements BaseRequest {

    private String type;
    private String file;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    @Override
    public boolean isMap() {
        return false;
    }

    @Override
    public String getUrl() {
        return null;
    }

    @Override
    public String getMethod() {
        return "pictureUpload";
    }

    @Override
    public String getServiceId() {
        return "tutor.fileUploadService";
    }

    @Override
    public Class<? extends BaseResponse> getResponseClass() {
        return PictureResponse.class;
    }
}
